package com.tanglongan.designPattern.dp14_command.demo01;

public class SpeedAction implements IAction {
    private final GPlayer player;

    public SpeedAction(GPlayer player) {
        this.player = player;
    }

    @Override
    public void execute() {
        player.speed();
    }
}
